﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Ucb.Workshop.Dal;

namespace Ucb.Workshop.WinApp.View.GestionCompra
{
    public partial class VerCompras : Form
    {
        DBManager conexion = new DBManager();
        public VerCompras()
        {
            InitializeComponent();
            conexion.LlenarGrid(gridCompras, "SELECT c.cod_compra, p.cod_pedido, p.fecha, p.estado FROM compra c, pedido p WHERE c.id_pedido = p.cod_pedido");
        }

        
    }
}
